package com.yc.demo.service.impl;

import com.yc.demo.dao.SysUserDao;
import com.yc.demo.entity.SysUser;
import com.yc.demo.service.ISysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by yc on 2019/4/4.
 */
@Service
public class SysUserServiceImpl implements ISysUserService {
    @Autowired
    private SysUserDao sysUserDao;

    @Override
    public SysUser login(SysUser user) {
        return sysUserDao.selectUserByMap(user);
    }

}
